import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { LoginComponent } from './login/login.component';
const routerConfig: Routes = [
  { path: '', component: LoginComponent, pathMatch: 'full' },
];

@NgModule({
  declarations: [],
  imports: [
    RouterModule.forChild(routerConfig)
  ],
  exports: [
    RouterModule
  ],
  bootstrap: [LoginComponent]
})
export class LoginRouterModule { 
  constructor() {
  }
}